#include "./../Include/public.h"
void show_stu(){
	struct stu* p = head_stu;
	if (p != NULL) {
		printf("学号 姓名 所选课程 总学分\n");
	}
	while (p != NULL) {
		printf("%s %s %d ",p->sno,p->name,p->courses[0]);
		for(int i=0;i<p->courses[0];i++){
			printf(" %d",p->courses[i+1]);
		}
		printf(" %d\n",p->sum);
		p = p->next;
	}
	printf("over\n");
}
